﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Learning.Classifiers
{
    class KNN : IClassifier
    {
        //your code here
        Tuple<string, int>[] attributes;
        int[,] data;
        int k_val;

        public KNN(int k,Tuple<string, int>[] loc_attributes, int[,] loc_data) //constructor should also receive the data (in any form you wish)
        {
            this.attributes = loc_attributes;
            this.data = loc_data;

            this.k_val = k; 
            //your code here
        }

        public IClassifier getBestModel(TextReader dataFile) // produces a model
        {
           
            //your code here
            throw new NotImplementedException();
        }

        public int classify(ushort[] values) // predictes the answer acording to the model
        {
            
            //your code here
            throw new NotImplementedException();
        }
    }
}
